﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AngelPerez.Taringa.PostEdit {
	public partial class TextEditWindow : Form {
		PELabel _labelControl;
		BackgroundWorker worker = new BackgroundWorker();

		public TextEditWindow(PELabel labelControl) {
			InitializeComponent();
			_labelControl = labelControl;
			textBox1.Text = _labelControl.Text;
		}

		private void textBox1_TextChanged(object sender, EventArgs e) {
			_labelControl.Text = textBox1.Text;
		}
	}
}
